<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title><{$tpl_title}></title>
		<link rel="stylesheet" href="resources/css/style.css" type="text/css" media="screen" />
</head>
  
	<body id="login">
		
		<div id="login-wrapper" class="png_bg">
			<div id="login-top">
				<h1>后台管理</h1>
				<img id="logo" src="http://10.202.1.105:82/vecms0.9/resources/images/logo.png" alt="logo" />
			</div>
			
			<div id="login-content">
				
				<form action="<{spUrl c=admin a=login}>" method="post" onsubmit="return aclcode();"><!--请务必加上onsubmit事件-->
				
					<div class="notification information png_bg">
						<div>
							<{if $smarty.session.userinfo.name}>
							<{$smarty.session.userinfo.name}>，<a href="<{spUrl c=admin a=index}>">直接进入后台！</a>
							<{else}>欢迎访问~
							<{/if}>
						</div>
					</div>
					
					<p>
						<label>用户名</label>
						<input class="text-input" type="text" name="username" />
					</p>
					<div class="clear"></div>
					<p>
						<label>密  码</label>
						<input type="password" class="text-input" name="password" id="password" />
					</p>
					<div class="clear"></div>
					<p>
						<label for="verifycode">验证码</label>
						<input id="verifycode"class="text-input" type="text" name="verifyCode" />
					</p>
					<div class="clear"></div>
					<p>
						<label for="verifycode">
							<img src="<{spUrl c=captcha a=index}>" border="0" style="cursor:pointer;padding-left: 90px" onclick="this.src='<{spUrl c=captcha a=index}>&' + Math.random(1)" alt="看不清楚,点击图片刷新" />
						</label>
						<input class="button" type="submit" value="进入系统" />
					</p>
					<div class="clear"></div>
					<p>
					</p>
					
				</form>
			</div> <!-- End #login-content -->
			
		</div> <!-- End #login-wrapper -->
		
  </body>
  </html>
